All Questions
Tagged with visualizationggplot2
22 questions
0votes
1answer
31views
Learning material for R
I am looking for learning material for R (including base R & tidyverse approaches (with a focus on readr, dplyr & tidyr)) and data visualisation using ggplot2 library for commercial teaching ...
2votes
0answers
455views
Graph legend for plot in Base R for class differentiated data gives incorrect representation of actual category
I am new to R. While working on my university assignments, I found that legends for Base R plot do not show correct information, hence I switched to ggplot2 wherever legends were needed. I observed ...
1vote
1answer
623views
Using ggplot2 to create a bar chart [closed]
So I'm trying to create a simple bar chart of Survive vs Not Survive for the common Titanic data set in R. I keep getting just the number of No's and Yes's, and not the frequencies or counts ...
2votes
1answer
383views
How to generate higher quality jpg plots on R [closed]
I have tried generating higher quality of data visualization plots from RStats. I tried increasing frame dimensions but it's still max at about ~350kb. How do I generate higher quality images from ...
1vote
1answer
48views
How to get a (descriptive) overview of a large database?
I'm facing a data framework with ~ 20 k observations and 151 variables across 2078 subjects At first I am primarily interested in how the data looks like related to a single parameter. But I cannot ...
1vote
1answer
159views
Data visualization on three factors
I have three factors, Income(from source A),continuous variable Income(from source B), continuous variable Happiness index,continuous variable Suppose I have 500 samples. My goal is to show the ...
2votes
1answer
285views
How to visualize categorical data with numeric columns
I have data like as shown below I would like to represent the above tabular data in a visual form. However, the below graph may not work because my real data as 50K unique drug names. So, is there ...
2votes
3answers
59views
An appropiate data visualization?
I want to include a plot in my thesis to highlight regional differences in bicycle collision outcomes. Now there are several plot visualizations I could use, and I am not sure which one could be the ...
2votes
1answer
5kviews
Mirror column plot with different y-axis in ggplot
I am trying to convert this plot Into a mirror column plot I have two datasets: school_purchases recent_school_shootings I am not very experienced with visualisation but this is my approach ...
0votes
0answers
6kviews
Overlay Bar Plot
I am trying to turn the first overlay bar plot into the second which allows for comparison of 2 variables instead of just one. Included my current code below which creates the first chart comparing ...
5votes
1answer
53kviews
How to plot multiple columns with ggplot in R?
I do have a data frame with different categorical and numerical columns with the following schema: Id | num_col_1 | num_col_2 | num_col_3 | cat_col_1 | cat_col_2 ...
1vote
1answer
199views
Display a subset of classes in axes in ggplot
I have the following plot, is there any way in ggplot to display just the numbers 1 to 10 instead of all of them? Numbers from 10 and after are not so important, but I need to display the ones before. ...
1vote
1answer
523views
How to make a Power Spectral Density Plot in R
I have a time series point process representing neuron spikes. I have computed and plotted autocovariance using acf but now I need to plot the Power Spectral ...
3votes
2answers
4kviews
When Should I Use ggplot2 Instead of Tableau? [closed]
I am a student getting started with Tableau for the first time. My proficiency with ggplot2 is intermediate. I can create custom versions of the most popular kinds of charts in ggplot2 but nothing too ...
-1votes
2answers
142views
Two quantities visualization
I have a problem figuring out how to visualize two simple quantities using R. I want to compare their size by visualizing two proportional spatial figures next to each other and the size proportional ...